# Contributor: Sodface <sod@sodface.com>
# Maintainer: Sodface <sod@sodface.com>
pkgname=wf-osk
pkgver=0_git20200901
_commit=d2e2e3228913ffa800ca31402820d2d90619279e
pkgrel=0
pkgdesc="Basic on-screen keyboard for Wayland"
url="https://github.com/WayfireWM/wf-osk"
arch="all"
license="MIT"
makedepends="
	meson
	gtkmm3-dev
	gtk-layer-shell-dev
	wayland-protocols
	wayland-libs-client
	"
options="!check" # no test suite
source=$pkgname-$_commit.tar.gz::"https://github.com/WayfireWM/wf-osk/archive/$_commit/wf-osk-$_commit.tar.gz"
builddir="$srcdir/$pkgname-$_commit"

build() {
	abuild-meson . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
7164988a54b0ce16be53360b5487272e0f64b878e9ff231e8eaf6b7a3056d47cdcaa89204b3b5cc105e7addbbca80f0fa143b610d3ef472673f254fae45970d0  wf-osk-d2e2e3228913ffa800ca31402820d2d90619279e.tar.gz
"
